﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EmployeePractice
{
    class Program
    {
        static void Main(string[] args)
        {
            Worker newWarker = new Worker("Vasya Pipa", 12000);
            HourlyWorker newHourlyWorker = new HourlyWorker("Ivan Ivanov", 10, 180);

            newWarker.CalculateSalary();
            newHourlyWorker.CalculateSalary();
            
        }
    }
}
